package com.itheima.ydd.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.ydd.dto.AdvposPage;
import com.itheima.ydd.dto.PageDto;
import com.itheima.ydd.dto.SysUserDto;
import com.itheima.ydd.entity.Result;
import com.itheima.ydd.entity.SysUser;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author Wang.XL
 */
public interface SysUserService extends IService<SysUser> {
    AdvposPage findList(String loginName, String status, String phone, String page, String limit);

    Result delSysUser(String id);

    Result addSysUser(Map<String,Object> sysUser);

    Result updataSysUser(Map<String, Object> sysUser);
}
